package com.b.service;


import com.b.domain.SeckillActivity;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.List;

public interface SeckillActivityService{


    Boolean deleteByPrimaryKey(Integer id);

    int insert(SeckillActivity record);

    Boolean insertSelective(SeckillActivity record);

    SeckillActivity selectByPrimaryKey(Integer id);

    Boolean updateByPrimaryKeySelective(SeckillActivity record);

    int updateByPrimaryKey(SeckillActivity record);


    List<SeckillActivity> getAll();

    Page<SeckillActivity> list(String name,  PageRequest pageRequest);

    Boolean updateStatus(Integer id, Integer status);
}
